package com.example.building_material_mannager.controller;

import com.example.building_material_mannager.entity.CollectionFlow;
import com.example.building_material_mannager.service.CollectionFlowService;
import com.example.building_material_mannager.util.PageUtil;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;
import java.util.List;

//1
@Controller
public class CollectionFlowController {
    @Resource
    CollectionFlowService collectionFlowService;
    //分页查询
    public PageUtil<List<CollectionFlow>> selectCollectionFlow(CollectionFlow collectionFlow){
        return collectionFlowService.selectCollectionFlow(collectionFlow);
    }
}
